package com.wryyyyy.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Document(collection = "space")
@Data
public class Space  implements Serializable {
    @Id
    private String id;

    private String factoryId;

    private Date createTime;

    private Date updateTime;

    private List<CommonModel> commonModels;

    private List<SelfModel> selfModels;

    private List<Pipe> pipes;

    private List<Label> labels;
}
